package com.ly.service;

import com.ly.bean.Menu;

import java.util.List;
import java.util.Map;

/**
 * @author 李岩
 * @date 2021/12/27-13:51
 * @describe
 */
public interface MenuService {

    //根据角色id 查询菜单
    List<Menu> findMenuByMap(Map<String,Object> map) throws Exception;

    //根据角色id 查询所有菜单
    List<Menu> findAllMenuByRid(Integer roleId) throws Exception;
    /**
     * 添加菜单
     */
    void insertSelective(Menu record) throws Exception;

}
